package cc.rengu.redp.bizimpl.upmp.domain;

import cc.rengu.redp.bizimpl.upmp.vo.ImageInfoVO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 刘玉亮.LL
 * @since 2021-06-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("T_B_MCHNT_SIGN_INFO")
@ApiModel(value="UpmpBMchntSignInfo对象", description="")
public class UpmpBMchntSignInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "机构标识")
    @TableField("INST_ID")
    private String instId;

    @ApiModelProperty(value = "商户号")
    @TableField("MCHNT_NO")
    private String mchntNo;

    @ApiModelProperty(value = "经营执照类型")
    @TableField("LICENCE_TYPE")
    private String licenceType;

    @ApiModelProperty(value = "企业注册类型")
    @TableField("ENTER_REGISTER_TYPE")
    private String enterRegisterType;

    @ApiModelProperty(value = "经营执照名称")
    @TableField("LICENCE_NAME")
    private String licenceName;

    @ApiModelProperty(value = "统一社会信息代码")
    @TableField("LICENCE_CODE")
    private String licenceCode;

    @ApiModelProperty(value = "注册资本")
    @TableField("REGISTER_CAPITAL")
    private String registerCapital;

    @ApiModelProperty(value = "执照生效日期")
    @TableField("LICENCE_EFFECTIVE_DATE")
    private String licenceEffectiveDate;

    @ApiModelProperty(value = "执照失效日期")
    @TableField("LICENCE_EXPIRY_DATE")
    private String licenceExpiryDate;

    @ApiModelProperty(value = "注册地址-省")
    @TableField("REGISTER_PROVINCE")
    private String registerProvince;

    @ApiModelProperty(value = "注册地址-市")
    @TableField("REGISTER_CITY")
    private String registerCity;

    @ApiModelProperty(value = "注册地址-区")
    @TableField("REGISTER_AREA")
    private String registerArea;

    @ApiModelProperty(value = "注册地址-街道")
    @TableField("REGISTER_STREET")
    private String registerStreet;

    @ApiModelProperty(value = "注册详细地址")
    @TableField("REGISTER_ADDR")
    private String registerAddr;

    @ApiModelProperty(value = "法人姓名")
    @TableField("ARTIF_NAME")
    private String artifName;

    @ApiModelProperty(value = "法人证件类型")
    @TableField("ARTIF_CERT_TYPE")
    private String artifCertType;

    @ApiModelProperty(value = "法人证件号码")
    @TableField("ARTIF_CERT_NO")
    private String artifCertNo;

    @ApiModelProperty(value = "证件生效日期")
    @TableField("CERT_EFFECTIVE_DATE")
    private String certEffectiveDate;

    @ApiModelProperty(value = "证件失效日期")
    @TableField("CERT_EXPIRY_DATE")
    private String certExpiryDate;

    @ApiModelProperty(value = "法人手机号")
    @TableField("ARTIF_MOBILE")
    private String artifMobile;

    @ApiModelProperty(value = "法人电子邮箱")
    @TableField("ARTIF_EMAIL")
    private String artifEmail;

    @ApiModelProperty(value = "商户签约协议号")
    @TableField("MCHNT_SIGN_ID")
    private String mchntSignId;

    @ApiModelProperty(value = "商户平均交易额")
    @TableField("MCHNT_AVG_TRANS_AMT")
    private String mchntAvgTransAmt;

    @ApiModelProperty(value = "记录状态")
    @TableField("RECORD_STATUS")
    private String recordStatus;

    @ApiModelProperty(value = "审核状态")
    @TableField("AUDIT_STATUS")
    private String auditStatus;

    @ApiModelProperty(value = "审核拒绝原因")
    @TableField("AUDIT_REFUSE_REASON")
    private String auditRefuseReason;

    @ApiModelProperty(value = "创建人")
    @TableField("OPR_ID")
    private String oprId;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private String createTime;

    @ApiModelProperty(value = "最后修改人")
    @TableField("LAST_OPR_ID")
    private String lastOprId;

    @ApiModelProperty(value = "最后修改时间")
    @TableField("LAST_UPDATE_TIME")
    private String lastUpdateTime;

    @ApiModelProperty(value = "最后审核人")
    @TableField("LAST_AUDIT_ID")
    private String lastAuditId;

    @ApiModelProperty(value = "最后审核时间")
    @TableField("LAST_AUDIT_TIME")
    private String lastAuditTime;

    @ApiModelProperty(value = "非业务主键")
    @TableField("ID")
    @TableId(type= IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "备用字段1")
    @TableField("REMARK1")
    private String remark1;

    @ApiModelProperty(value = "备用字段2")
    @TableField("REMARK2")
    private String remark2;

    @ApiModelProperty(value = "备用字段3")
    @TableField("REMARK3")
    private String remark3;

    @ApiModelProperty(value = "备用字段4")
    @TableField("REMARK4")
    private String remark4;

    @ApiModelProperty(value = "备用字段5")
    @TableField("REMARK5")
    private String remark5;


    @ApiModelProperty(value = "操作类型：新增、修改、删除、审核等")
    @TableField(exist = false)
    private String optFlag;
    @ApiModelProperty(value = "商户基本信息中的商户类型")
    @TableField(exist = false)
    private String mchntType;

    @ApiModelProperty(value = "营业执照影像图片")
    @TableField(exist = false)
    private ImageInfoVO licenceImage;
    @ApiModelProperty(value = "证件照(人像面)影像图片")
    @TableField(exist = false)
    private ImageInfoVO certFaceImage;
    @ApiModelProperty(value = "证件照(国微面)影像图片")
    @TableField(exist = false)
    private ImageInfoVO certBackImage;

    @ApiModelProperty(value = "省名称")
    @TableField(exist = false)
    private String registerProvinceName;
    @ApiModelProperty(value = "市名称")
    @TableField(exist = false)
    private String registerCityName;
    @ApiModelProperty(value = "区名称")
    @TableField(exist = false)
    private String registerAreaName;

}
